def coins_tanlan() -> None:
    #硬币字典，键为硬币的面值，值为硬币的数量
    coins={1:10,2:10,5:10,10:10,20:10,50:10,100:10}
    #带兑换的纸币金额
    money=13.37*100
    #兑换的硬币字典，键为硬币的面值，值为硬币的数量
    changes={}
    coin_values=list(coins.keys())
    coin_values.sort(reverse=True)
    for coin_value in coin_values:
        if coin_value>money:
            continue
        else:
            num=int(money/coin_value)
            num=min(num,coins[coin_value])
            print("选择面值{0}的硬币{1}枚。".format(coin_value, num ))
            changes[coin_value] = num
            money=money-coin_value*num
            if money==0:
                break
    if money==0:
        print("兑换成功：",changes)
    else:
        print("兑换失败。")